import upload from "@/utils/upload";
import request from "@/utils/request";
//小程序使用会员兑换码成为会员
export function inviteCode(data) {
  return request({
    url: "/cy/member_code/app/become",
    method: "post",
    data,
  });
}

//获取会员信息详情
export function memberInfo() {
  return request({
    url: "/cy/user_member/app/details",
    method: "get",
  });
}